<template>
    <el-main>
    </el-main>
</template>
<script>
import {getDeptListApi} from '@/api/department'
export default {
    data() {
        return {
            //存储部门列表数据
            tableList: [],
            //存储搜索关键字数据域
            parms: {
                searchName: "",
            }
        }
    },
    created(){
        getDeptList()
    },
    methods:{
        async getDeptList(){
            let res = await getDeptListApi(this.parms)
            console.log(res)
        }
    }
}
</script>
<style lang="scss">

</style>